import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import md5 from 'js-md5';

import VueDOMPurifyHTML from 'vue-dompurify-html';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import './theme/index.css';

import '@/styles/index.less'; // global css
import '@/styles/flex.less'; // global css

// register globally

Vue.prototype.$md5 = md5;
Vue.config.productionTip = false;

Vue.use(ElementUI).use(VueDOMPurifyHTML);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
